def BytesIO(dummy):
    return None

def Image(dummy, mode=None):
    return None

class UnidentifiedImageError(Exception):
    pass
